/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package dados;

import java.io.Serializable;
import java.util.ArrayList;

/**
 *
 * @author Yuri Maia
 */
public class ProvaQuestao extends ArrayList<Questao> implements Serializable {



    public ArrayList<Questao> getArrayListQuestao() {
        ArrayList<Questao> questao = new ArrayList<Questao>();

        for (int i = 0; i <= this.size() - 1; i++) {
            questao.add(//instancia
                    this.get(i));
        }
        return questao;
    }

   public Questao getQuestao(int indice){
       return this.get(indice);
   }
}
